package com.mk.service;

import com.mk.base.service.IBaseService;
import com.mk.model.entity.Org;
import com.mk.model.request.OrgRequest;

import java.util.List;

/**
 * @Author: yq
 * @Description:
 * @Date: Created in 11:34 AM 3/14/18
 */
public interface IOrgService extends IBaseService<Org> {

    Org save(OrgRequest request);

    Boolean update(OrgRequest request);

    Boolean delete(Long id);

    Org get(Long id);

    List<Org> getAll(OrgRequest request);

    Boolean deleteChilds(List<Long> ids);
}
